<div class="dialog_content">
    <form id="info_form" name="info_form" action="{:U('user_auth/edit')}" method="post">
    <table width="70%" class="table_form fl">
        <tr>
        	<th>用户名称/id :</th>
            <td>{$info.username}&nbsp;&nbsp;(ID:{$info.id})</td>
        </tr>
        <tr>
          <th>真实姓名 :</th>
          <td>{$info.realname}</td>
        </tr>
		<tr>
          <th>银行名称 :</th>
          <td>{$info.bankname}</td>
        </tr>
		<tr>
          <th>银行帐号 :</th>
          <td>{$info.bankid}</td>
        </tr>
		<tr>
          <th>用户手机 :</th>
          <td>{$info.tele}</td>
        </tr>
		<tr>
          <th>性别 :</th>
          <td><if condition="$info['sex'] eq '1'">男</if><if condition="$info['sex'] eq '0'">女</if></td>
        </tr>
		<tr>
          <th>所属机构 :</th>
          <td>{$info.company}</td>
        </tr>
        <!-- <tr>
            <th>备注说明 :</th>
            <td><textarea name="remark" id="remark" cols="40" rows="3">{$info.remark}</textarea></td>
        </tr> -->
        <tr>
            <th>审核 :</th>
            <td>
                <label><input type="radio" name="is_auth" class="radio_style" value="1" <if condition="$info.status eq 1">checked="checked"</if>> 通过&nbsp;&nbsp;</label>
                <label><input type="radio" name="is_auth" class="radio_style" value="0" <if condition="$info.status eq 0">checked="checked"</if>> 不通过&nbsp;&nbsp;</label>
            </td>
        </tr>
    </table>
	<table width="30%" class="table_form fl">
		<tr>
          <td>收款码 :</td>
        </tr>
        <tr>
          <td><img src="{:attach($info['receive_erweima'], 'assets')}" style="max-width:120px"></td>
        </tr>
    </table>

	<input type="hidden" name="menuid" value="{$menuid}" />
    <input name="id" type="hidden" value="{$info.id}">
    </form>
</div>
<script src="__STATIC__/js/fileuploader.js"></script>
<script>
$(function(){
    $.formValidator.initConfig({formid:"info_form",autotip:true});
    $('#info_form').ajaxForm({success:complete,dataType:'json'});
    function complete(result){
        if(result.status == 1){
            $.dialog.get(result.dialog).close();
            $.pinphp.tip({content:result.msg});
            window.location.reload();
        } else {
            $.pinphp.tip({content:result.msg, icon:'alert'});
        }
    }
});
</script>